package org.eclipse.stp.policy_builder.model.source.types;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
/**
 * new Parameter types can be added by extending this class
 * also necessary String mappings should be implemented in class SourceParameter[#setParameterType()] class
 * while UI mappings should be implemented in class SourceParameterPage [#createParameterRows()] 
 * @author usw
 *
 */
public abstract class AbstractParamType {

	private String type;
	
	public AbstractParamType(String type){
		this.type = type ;
	}
	
	public String toString(){
		return type;
	}
	public abstract Label getKeyLabel();
	public abstract void createTypeControl(Composite container);
}
